package api;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

/**
 * @author xiakai
 * @create 2020-12-26 10:23
 */
public class Test {

    public static void main(String[] args) {
        Pattern compile = Pattern.compile("^(\\D*)(\\d+)");
        Matcher matcher = compile.matcher("78361485_p0(CUnet_scale3840_noise3)");
        if (matcher.find()) {
            System.out.println(matcher.group(1));
            System.out.println(matcher.group(2));
        }

    }

}
